package com.study.talk.ui.app.self

import android.app.Application
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.study.talk.ui.app.base.BaseViewModel
import com.study.talk.data.model.UserInfo
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject

@HiltViewModel
class SelfViewModel @Inject constructor(application: Application) : BaseViewModel(application) {
    private val _user = MutableLiveData(app.userInfo)
    val user: LiveData<UserInfo> get() = _user
}